package com.yantong.mapper;

import com.yantong.pojo.MemberAggregation;

import java.util.List;

/**
 * @author liaozhaogui
 * @description: MemberAggregationMapper
 * @date 2020/9/18 12:21
 */
public interface MemberAggregationMapper {
	/**
	 * 新增商家聚合码信息
	 *
	 * @param memberAggregation 参数信息
	 * @return java.lang.integer
	 * @author liaozhaogui
	 * @date 2020/9/18 13:00
	 */
	Integer insert(MemberAggregation memberAggregation);

	/**
	 * 查询商家聚合码信息
	 *
	 * @param mid 用户id
	 * @return java.util.List<com.jz.user.domain.MemberAggregation>
	 * @author liaozhaogui
	 * @date 2020/9/18 13:00
	 */
	List<MemberAggregation> queryList(Long mid);

	/**
	 * 根据聚合码查询信息
	 *
	 * @param aggregationCode 聚合码
	 * @return com.jz.user.domain.MemberAggregation
	 * @author liaozhaogui
	 * @date 2020/9/18 13:00
	 */
	MemberAggregation queryByCode(String aggregationCode);

}
